{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends "firefox/releases/notes.html" %}

{% set header_class = 't-beta' %}
{% set brand_product = 'beta' %}

{% if release.product == 'Firefox for Android' %}
  {% set download_button_primary %}
    {{ download_firefox('beta', platform='android', alt_copy='Download Firefox for Android Beta', dom_id="download-android-beta-primary") }}
  {% endset %}
  {% set download_button_secondary %}
    {{ download_firefox('beta', platform='android', alt_copy='Download Firefox for Android Beta', dom_id="download-android-beta-secondary") }}
  {% endset %}
  {% set download_all_link = firefox_url('android', 'all', channel='beta') %}
{% elif release.product == 'Firefox' %}
  {% set download_button_primary %}
    {{ download_firefox('beta', platform='desktop', force_direct=True, alt_copy='Download Firefox Beta', dom_id="download-beta-primary") }}
  {% endset %}
  {% set download_button_secondary %}
    {{ download_firefox('beta', platform='desktop', force_direct=True, alt_copy='Download Firefox Beta', dom_id="download-beta-secondary") }}
  {% endset %}
  {% set download_all_link = firefox_url('desktop', 'all', channel='beta') %}
{% endif %}
